package cn.tedu._08article.mapper;

import cn.tedu._08article.base.response.JsonResult;
import cn.tedu._08article.pojo.dto.UserLoginParam;
import cn.tedu._08article.pojo.entity.Article;
import cn.tedu._08article.pojo.vo.ArticleVO;
import cn.tedu._08article.pojo.vo.UserVO;

import java.util.List;

public interface ArticleMapper {
    UserVO userLoginById(UserLoginParam userLoginParam);

    int addArticle(Article article);

    List<ArticleVO> selectArticle(Long id);
}
